<?php

namespace app\common\model;

use app\common\model\Common;
use think\model\concern\SoftDelete;

class BannerCate extends Common
{
    use SoftDelete;
    protected $deleteTime = 'del_time';
    protected $table = 'banner_cate';
    
    public static function getCateName($id){
        return self::where(['id'=>$id])->value('cate_name');
    }
}
